<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        h1{
            width: 500px;
            height: 500px;
            background:linear-gradient(to left, red,blue,pink, yellow);
            -webkit-text-fill-color:transparent;
            background-clip: text;  
            background-size: 200% 200%; 
            animation: changleng  2s infinite;
        }
        
        @keyframes changleng {
            0%{
                background-position: 0% 0%;
            }
            100%{
                background-position: 100% 100%;
            }
        }
        @keyframes 跳动 {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0, -10px);
  }
  100% {
    transform: translate(0, 0);
  }
}

    </style>
</head>
<body>
 <h1>大河之剑，天上来</h1>
</body>
</html>